#include <bits/stdc++.h>
#define endl '\n'
#define PII pair<int, int>
#define int long long
using namespace std;
const int N = 1e6 + 100;

void read (int &x){
	int res = 0;
	char c;
	while (c = getchar()){
		if (c == ' ' || c == '\n'){
            x = res;
			return ;
		}
		res = res * 10 + (int)(c - '0');
	}
}
void write (int x){
	cout << x;
	return ;
}
signed main(){
	ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
	freopen ("arena.in", "r", stdin);
	freopen ("arena.out", "w", stdout);
	int t;
	cin >> t;
	while (t--){
		srand(time(0));
		cout << rand() << endl;
	}
	return 0;
}
